<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{envir/bootstrap.min.css}">

</head>
<body>
<table class="table">
    <tr th:each="file:${files}">
        <td th:text="${file}"></td>
        <td><a th:href="@{/downloadfile(filename=${file})}">下载</a></td>
    </tr>
</table>
</body>
</html>